char *my_strncpy(char *s1, const char *s2, size_t n)
{
	char *s = s1;
	for (; n > 0 && *s2 != '\0'; --n)
		*s++ = *s2++;
	for (; n > 0; --n)
		*s++ = '\0';
	return s1;
}
